﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WeatherTest.Base
{
    public interface ISubject
    {
        public void RegisterObserver(IObserver observer);//订阅
        public void RemoveObserver(IObserver observer);//取消订阅
        public void NotifyObserver();//数值变化通知所有


    }
}
